{ext->class_function class="translate" func="get_all" assign="translate"}
<style type="text/css">
{literal}
.translate { border: 1px solid #DBD8CA; }
.translate th { background: #DBE1E5; padding: 3px 10px; font-size: 12px; }
.translate td { padding: 0; }
.translate textarea { font-size: 12px; width: 250px; height: 40px; border: 1px inset #DBD8CA; }
{/literal}
</style>
<form action="index.php?admin=1&body=admin/modules/translate/index.html&module=translate" method="post">
<input type="hidden" name="act" value="recache" />
<table cellspacing="0" cellpadding="0" class="translate">
<tr>
		<th>&nbsp;</th>
{foreach from=$data.tree.lang item="item"}
		<th>{$item.name}</th>
{/foreach}	
		<th>&nbsp;</th>
</tr>
{assign var="cc" value="1"}
{foreach from=$translate key="key" item="el"}
<tr>
		<td align="center">{$cc}</td>
		{foreach from=$data.tree.lang item="lang"}
		<td><textarea id="trans_{$lang.name}{$key}" name="translate[{$key}][{$lang.name}]">{$el[$lang.name]}</textarea></td>
		{/foreach}
		<td align="center"><a href="#" onclick="{foreach from=$data.tree.lang item="lang"}if(document.getElementById('trans_{$lang.name}{$key}').disabled==false){ldelim}document.getElementById('trans_{$lang.name}{$key}').disabled=true;{rdelim}else{ldelim}document.getElementById('trans_{$lang.name}{$key}').disabled=false;{rdelim}{/foreach}return false;"><img src="_tvs_system_core_/design/img/admin/_icon_delete.gif" alt="" /></a></td>
</tr>
{assign var="cc" value=$cc+1}
{/foreach}
</table>
<br />
<input class="defaultFormButton" type="submit" name="submit" value="Išsaugoti" />
</form>
<br />